export default function useRouterAuth(currentPathname:string) {
    const  state =  {
      routerPermissions:["/login","/error","/","/discover"],
    }
    console.log("登陆账号路由权限列表", state.routerPermissions,"当前进入的路由地址",currentPathname);
    const AuthResult: boolean = true || state.routerPermissions.includes(currentPathname);
    return {
      AuthResult,
    };
  }

  
